﻿<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="../css/globalstyle.css">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <title>青鸟学员活动O2O管理系统-评论管理</title>
    <!-- Bootstrap -->
    <link href="../css/bootstrap.min.css" rel="stylesheet">
    <!-- Custom CSS -->
    <link href="../css/sb-admin.css" rel="stylesheet">
    <!-- Custom Fonts -->
    <link href="../font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
    <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->

</head>


<body >

                    <div id="page-wrapper">
                        <div class="container-fluid">
                            <div class="row">
                                <div class="panel panel-default">
                                    <div class="panel-heading" style="background-color: #00c0ff;">
                                        <h3 class="panel-title" style="color:#fff;"><i class="fa fa-clock-o fa-fw"></i>评论管理</h3>
                                    </div>
                                    <br/>
                                    <div align="center">
                                        <form action="#" method="post">
                                            <table>
                                                <tr>
                                                    <td>查询条件:</td>
                                                    <td>活动名称:<input type="text" name="gameName" list="gameName">
                                                        <datalist id="gameName">
                                                            <option value="活动1"></option>
                                                            <option value="活动2"></option>
                                                            <option value="活动3"></option>
                                                            <option value="活动4"></option>
                                                        </datalist>
                                                    </td>
                                                    <td>活动状态:<input type="text" name="gameStatus" list="gameStatus">
                                                        <datalist id="gameStatus">
                                                            <option value="未开始"></option>
                                                            <option value="已开始"></option>
                                                            <option value="已结束"></option>
                                                            <option value="已过期"></option>
                                                        </datalist>
                                                    </td>
                                                    <td>活动时间:<input name="beginTime" type="date" required>
                                                    </td>
                                                    <td>评论人ID:<input type="text" name="commentator" list="commentator">
                                                        <datalist id="commentator">
                                                            <option value="活动1men"></option>
                                                            <option value="活动2men"></option>
                                                            <option value="活动3men"></option>
                                                            <option value="活动4men"></option>
                                                        </datalist>
                                                    </td>
                                                    <td><input type="submit" value="查询"></td>
                                                </tr>
                                            </table>
                                        </form>
                                        <br/>
                                        <table id="comment_list" border="1px">
                                            <tr style="background-color: #aaaaaa;">
                                                <td>活动名称</td>
                                                <td>活动状态</td>
                                                <td>评论时间</td>
                                                <td>评论人</td>
                                                <td>操作</td>
                                            </tr>
                                            <tr>
                                                <td>活动名称</td>
                                                <td>活动状态</td>
                                                <td>评论时间</td>
                                                <td>评论人</td>
                                                <td>查看/<a href="javascript:;"  class="delete">删除</a></td>
                                            </tr>
                                            <tr>
                                                <td>活动名称</td>
                                                <td>活动状态</td>
                                                <td>评论时间</td>
                                                <td>评论人</td>
                                                <td>查看/<a href="javascript:;"  class="delete">删除</a></td>
                                            </tr>
                                            <tr>
                                                <td>活动名称</td>
                                                <td>活动状态</td>
                                                <td>评论时间</td>
                                                <td>评论人</td>
                                                <td>查看/<a href="javascript:;"  class="delete">删除</a></td>
                                            </tr>
                                            <tr>
                                                <td>活动名称</td>
                                                <td>活动状态</td>
                                                <td>评论时间</td>
                                                <td>评论人</td>
                                                <td>查看/<a href="javascript:;"  class="delete">删除</a></td>
                                            </tr>
                                        </table>
                                        <div class="text-center">
                                            <ul class="pagination">
                                                <li class="disabled"><a href="javascript:;"><input name="首页" type="submit" value="页数XX"/></a></li>
                                                <li class="disabled"><a href="javascript:;"><input name="首页" type="submit" value="总条数XX"/></a></li>
                                                <li><a style="height: 40px" href="javascript:;">&laquo;</a></li>
                                                <li><a style="height: 40px" href="javascript:;">&lt;</a></li>
                                                <li class="active"><a href="javascript:;"><input name="首页" type="submit" value="当前第XX页"/></a></li>
                                                <li><a style="height: 40px" href="javascript:;">&gt;</a></li>
                                                <li><a style="height: 40px" href="javascript:;">&raquo;</a></li>
                                                <li class="disabled"><a href="javascript:;"><input name="首页" type="submit" value="每页XX条"/></a></li>&nbsp;
                                                <li class="disabled"><input style="height: 37px" type="submit" value="跳转到第"/><input style="height: 37px; width: 22px" type="text" name="text" style="height: 20px;width: 30px " /> &nbsp;页</li>
                                            </ul>
                                        </div>
                                    </div><!-- .panel-body -->
                                </div><!-- .panel -->
                            </div><!-- .row -->
                        </div>
                        <!-- /.container-fluid -->
                    </div>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="js/jquery.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="js/bootstrap.min.js"></script>
<script type="text/javascript">
    //实现效果：隔行换色
    $(function () {
        $("#comment_list tr:even").not(":first").css("background","#eee");
    });
</script>
<script>
    $(function(){
        $(".delete").each(function(){
            $(this).on("click",function(){
                $(this).parent().parent().remove();
            })

        });
        $(".search-item").click(function(){
            var $text=$(this).html();
            $("#search-target").html($text);

        });
    })
</script>
</body>